package com.molichuxing.gateway.api.services;

import com.molichuxing.framework.dto.Paged;
import com.molichuxing.framework.result.ResponseResult;
import com.molichuxing.gateway.bff.goods.response.GoodsBaseVo;
import com.molichuxing.gateway.bff.goods.response.GoodsDetailVo;
import com.molichuxing.gateway.bff.goods.response.GoodsVo;

import java.util.Map;

/**
 * 商品接口
 * @author xuelin yi
 */
public interface GoodsApiService {

	/**
	 * 获取商品信息列表
	 * @param selectParams
	 * @param pageNum
	 * @param pageSize
	 * @return
	 */
	public ResponseResult<Paged<GoodsVo>> getGoodsList(Map<String, Object> selectParams,  Integer pageNum, Integer pageSize);

	/**
	 * 获取商品基础信息
	 * @param goodsId
	 * @return
	 */
	public ResponseResult<GoodsBaseVo> getBaseGoods(Integer goodsId);

	/**
	 * 获取商品详细信息
	 * @param goodsId
	 * @return
	 */
	public ResponseResult<GoodsDetailVo> getDetailGoods(Integer goodsId);

}
